package one;

import com.google.gson.InstanceCreator;

import java.lang.reflect.Type;

/**
 * @author wangpp
 */
public class CarCreator implements InstanceCreator<Car> {

    @Override
    public Car createInstance(Type type) {
        Car car = new Car("xxx", 11);
        return car;
    }
}
